<?php
class SubjectModel extends CommonModel {
	protected $_validate	 =	 array(
		array('KCMC','require','请填写课程名称！',1),
		);
	protected $_auto	 =	 array(
		array('FBSJ','time',self::MODEL_INSERT,'function'),
		array('school_id','getschool',1,'callback'),

		);



	
}